package org.junyi.log.service;
import java.util.List;
import org.junyi.log.dao.LogDao;
import org.junyi.pojo.Log;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service("logServer")
public class LogServerImpl implements LogServer
{

	@Autowired
	private LogDao logDao;
	@Override
	public Integer addLog(Log log)
	{
		return logDao.addLog(log);
	}
	@Override
	public List<Log> query()
	{
		return logDao.query();
	}
	@Override
	public Integer deleteAll()
	{
		return logDao.deleteALL();
	}

}
